<!---tmpl:game_item-->
<a class="content list-group-item media" href="#game?id=${id}&name=${name}">
	<img class="icon media-object pull-left" src="${icon}" />
	<h4 class="list-group-item-heading">${name}</h4>
	<p class="list-group-item-text">
    {% for(var i=0;i<star_count;i++){ %}<i class="star">s</i>{% } %}{% for(var i=0;i<unstar_count;i++){ %}<i class="star empty">u</i>{% } %}
    &nbsp;${price}元</p>
  <p class="slug list-group-item-text">${slug}&nbsp;</p>
</a>
<!---tmpl:item_ext_info-->
<i class='category'>分类: ${category}</i>&nbsp;&nbsp;
<i class='size'>价格: <span class="red">${price}</span>元</i>&nbsp;&nbsp;
<i class='size'>好评: {% for(var i=0;i<star_count;i++){ %}<i class="star">s</i>{% } %}{% for(var i=0;i<unstar_count;i++){ %}<i class="star empty">u</i>{% } %}</i><br/>
<!---tmpl:category_item-->
<li>
  <a class="content" href="#category?id=${id}&name=${name}">
    <img class="icon" src="${icon}" />
    <p>${name}</p>
  </a>
</li>
<!---tmpl:good_item-->
<a class="content list-group-item media" href="#game?id=${project_id}&name=${name}">
  <img class="icon media-object pull-left" src="${icon}" />
  <h4 class="list-group-item-heading">${name}<small> x ${count}</small></h4>
  <p class="list-group-item-text">${price}元</p>
</a>
<!---tmpl:order_info-->
<div id="order_form" class="col panel">
  <form id='info_form'>
    <div class="control-group">
      <label>姓名</label>
      <input name="name" type="text">
    </div>
    <div class="control-group">
      <label>联系方式</label>
      <input name="contact" type="text">
    </div>
    <div class="control-group">
      <label>送货地址</label>
      <textarea name="address"></textarea>
    </div>
    <p class="error text-danger" style="display: none;margin-top: 10px;"></p>
    <div style="margin-top: 10px;">
      <a id="submit" class="btn btn-success btn-block">提交订单</a>
    </div>
  </form>
  <div class="success well" style="display: none;">
    <p>订单提交成功，感谢您的购买，我们会尽快给您送货上门。</p>
    <a href="#main" class="btn btn-success btn-block">返回主页面</a>
  </div>
</div>
